const defaultState = {
  cityList: [],
}
const reducer = (state = defaultState, action) => {
  switch (action.type) {
    case "City":
      return {
        ...state,
        cityList: action.cityList
      }
    default:
      return state;
  }

}
export default reducer;